package com.bean.goods;

import lombok.Data;

import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;
import javax.persistence.Transient;
import java.time.LocalDate;

@Data
@Entity
@Table(name = "goods_dictdata")
public class GoodsDictData {

    @Id
    private String id;

    private String parentid;//大类id
    @Transient//临时的
    private String category;

    private String name;//衣物[上衣，裤子，袜子，鞋子，帽子，手套，]
    private String description;
    private LocalDate createdate;
    private LocalDate updatedate;

}
